package com.test.hibernate.hql.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.HashSet;
import java.util.Set;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2018/9/20 8:44
 */
@Setter
@Getter
@NoArgsConstructor
public class Department {
    private Integer id;
    private String name;
    private Set<Employee> emps = new HashSet<>();
}
